package Thread;

/**
 * @author liyang
 * @version 1.0
 * @package Thread
 * @file SleepDemo.java
 * @description
 * @time 2024-04-07 19:36
 */
public class SleepDemo {
    public static void main(String[] args) {
        System.out.println("开");
        try {
            Thread.sleep(5000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("关");
    }
}
